﻿@model VideoCache.Server.MVCWeb.Areas.Member.Models.LoginModel

@{
    ViewBag.Title = "会员登陆";
    Layout = null;
}
<html>
<head>
    <title>登陆聚存</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link href="@Url.Content("~/content/css/base.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/content/css/login.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery.1.8.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
</head>
<body>
<div class="login">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
<div class="login-left">
    <h1>@ViewBag.Title</h1>
    <table class="table-form">
    <tr>
        <td class="must"></td>
        <td class="label"></td>
        <td>@Html.ValidationMessage("Error")&nbsp; </td>
    </tr>
    <tr>
        <td class="must">*</td>
        <td class="label">@Html.LabelFor(model => model.UserName)</td>
        <td>
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </td>
    </tr>
    <tr>
        <td class="must">*</td>
        <td class="label">@Html.LabelFor(model => model.Password)</td>
        <td>
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </td>
    </tr>
    <tr>
        <td class="must"></td>
        <td class="label"></td>
        <td>
            @Html.EditorFor(model => model.RememberStatus) @Html.LabelFor(model => model.RememberStatus)
            @Html.ValidationMessageFor(model => model.RememberStatus)
        </td>
    </tr>
    <tr>
        <td class="must"></td>
        <td class="label"></td>
        <td>
            <button type="submit" class="login-button">登  陆</button>
            <a href="@Url.Action("ForgotPassword", "Login")">忘记密码</a>
        </td>
    </tr>
    <tr>
        <td class="must"></td>
        <td class="label"></td>
        <td>
            <span>还不是会员？</span>
            <a href="@Url.Action("Register", "Login")">免费注册</a>
        </td>
    </tr>
    </table>
</div>
}
<div class="clear"></div>
</div>
</body>
</html>